package com.molyfun.parents.activity.common;

import android.content.Context;
import android.content.Intent;

/**
 * Created by william(liuchao.hit@gmail.com).
 * Date:24/10/2017.
 * <p>
 * 想用其他分享类型，后续完善
 */

public class HorizontalShareDialogActivity extends ShareDialogActivity{

    public static void sharePage(Context context, String title, String content, String url) {
        Intent intent = new Intent();
        intent.setClass(context, HorizontalShareDialogActivity.class);
        intent.putExtra(ACTIVITY_SHARE_TYPE_FLAG, ShareType.Type_Page);
        intent.putExtra(ACTIVITY_SHARE_CONTENT_FLAG, content);
        intent.putExtra(ACTIVITY_SHARE_TITLE_FLAG, title);
        intent.putExtra(ACTIVITY_SHARE_URL_FLAG, url);
        context.startActivity(intent);
    }

}
